package com.lhy.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.lhy.session.OnlineCounter;

@Controller
@RequestMapping("/main")
public class MainController {

	@RequestMapping("")
	public String toIndex(HttpServletRequest request, Model model){
		return "main";
	}
	@RequestMapping("/qy")
	public String qy(HttpServletRequest request, Model model){
		return "main_qy";
	}
	@RequestMapping("/zl")
	public String zl(HttpServletRequest request, Model model){
		return "main_zl";
	}
	@RequestMapping("/cd")
	public String cd(HttpServletRequest request, Model model){
		return "main_cd";
	}
	@RequestMapping("/fz")
	public String fz(HttpServletRequest request, Model model){
		return "main_fz";
	}
	@RequestMapping("/jz")
	public String jz(HttpServletRequest request, Model model){
		return "main_jz";
	}
	@RequestMapping("/yc")
	public String yc(HttpServletRequest request, Model model){
		return "main_yc";
	}
	@RequestMapping("/zz")
	public String zz(HttpServletRequest request, Model model){
		return "main_zz";
	}
	@RequestMapping("/cj")
	public String cj(HttpServletRequest request, Model model){
		return "main_cj";
	}
	@RequestMapping("/slide")
	public String slide(HttpServletRequest request, Model model){
		return "main_slide";
	}
	@RequestMapping("/main_index")
	public String main_index(HttpServletRequest request, Model model){
		return "main_index";
	}
}
